namespace TS2015.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TbLoaiTinTuc")]
    public partial class TbLoaiTinTuc
    {
        public TbLoaiTinTuc()
        {
            TbTinTucs = new HashSet<TbTinTuc>();
        }

        [Key]
        public int MaLoaiTinTuc { get; set; }

        [StringLength(100)]
        public string Anh { get; set; }

        [Required]
        [StringLength(50)]
        public string TenLoaiTinTuc { get; set; }

        public virtual ICollection<TbTinTuc> TbTinTucs { get; set; }
    }
}
